package cancer

import (
	v1 "gitcode.com/G-YT/iHealth25/server/api/v1"
	"github.com/gin-gonic/gin"
)

type RouterGroup struct {
	CancerRouter
}

func (c *CancerRouter) InitCancerRouter(Router *gin.RouterGroup) {
	cancerRouter := Router.Group("cancer")
	cancerApi := v1.ApiGroupApp.CancerApiGroup.CancerApi
	{
		cancerRouter.GET("getCancerQuestions", cancerApi.GetCancerQuestions)    // 获取癌症问题列表
		cancerRouter.POST("createCancerOptions", cancerApi.CreateCancerOptions) // 创建癌症选项集
		cancerRouter.GET("getScreenReport", cancerApi.GetScreenReport)          // 获取筛查报告
	}
}
